// 机构所在得城市
export default {
  data() {
    return {
      itemIdoptions: []
    };
  },
  methods: {
    get_itemIdoptions(branchId,categoryId){
      if (branchId == null || branchId == "") {
        this.itemIdoptions = [];
        return;
      };
      if (categoryId == null || categoryId == "") {
        this.itemIdoptions = [];
        return;
      }
        this.$store
          .dispatch("pubilcPage/get_itemIdoptions", 
          {
            "branchId": branchId,
            "categoryId":categoryId,
            "enable": 1,
        })
          .then(res => {
            this.itemIdoptions = res;
          });
    }
  }
};
